var mysql = require('mysql');
var connection = mysql.createConnection({
   host: 'localhost',
   port: 3306,
   user: 'root',
   password: '',
   database: 'test',
});
connection.connect();
connection.query('SELECT 1', function () {
    
})
